<?php
return [
    /* 数据库设置 */
    'DB_HOST'=>'qdm164596433.my3w.com',
    'DB_NAME'=>'qdm164596433_db',
    'DB_USER'=>'qdm164596433',
    'DB_PWD' =>'I5love2you0',
    'DB_PORT'=>'3306',

    'MODULE_ALLOW_LIST' => ['Home', 'Runtime', 'Doc', 'Bbs'],

    'APP_SUB_DOMAIN_DEPLOY'   =>    1, // 开启子域名或者IP配置
    'APP_SUB_DOMAIN_RULES'    =>    [
        'doc.wooo.wang' => 'Doc',
        'bbs.wooo.wang' => 'Bbs'
    ],

    'TMPL_ACTION_ERROR'     =>  THINK_PATH.'Tpl/dispatch.tpl', // 默认错误跳转对应的模板文件
    'TMPL_ACTION_SUCCESS'   =>  THINK_PATH.'Tpl/dispatch.tpl', // 默认成功跳转对应的模板文件
    'TMPL_EXCEPTION_FILE'   =>  THINK_PATH.'Tpl/exception.tpl',// 异常页面的模板文件

    //配置七牛
    'QINIU_AK'=>'ljccqOeFycTZDqb5N4cLADkvI1E4YJYortghRmS1',
    'QINIU_SK'=>'pfZ6b_A6pD9MB6KHC27DDckZiSZdWfdePzqbSqUF',

    //配置邮件发送服务器
    'MAIL_HOST' =>'smtp.wooo.wang',
    'MAIL_ACCOUNT' =>'account@wooo.wang',
    'MAIL_NOTICE' => 'notice@wooo.wang',
    'MAIL_PASSWORD' =>'I5love2you0!',

    'TMPL_PARSE_STRING' => [
        '__STATIC__' => '//static.wooo.wang/v1.01',
        '__VERSION__' => '0.5'
    ],

    'QINIU_UPLOAD_CONFIG' => [
        'scope' => 'imgs',
        'mimeLimit' => 'image/*',
        'returnBody' => '{"name":$(key),"size":$(fsize),"w":$(imageInfo.width),"h":$(imageInfo.height),"hash":$(etag)}'
    ],

    'SIMPLEJWT_CODE' => 'ASKJE32141490!#kjff',      // 登陆校验密码
    'SIMPLEJWT_SECOND_CODE' => 'siewo324@$*SEK',    // 二次登陆校验密码

    'QQ_LOGIN_CONFIG' => [
        'appid' => '101345631',
        'appkey' => '969203b7aecf607fb9047aab4ac5d63a',
        'callback' => 'http://wooo.wang/qqlogincallback.html'
    ],

    'WECHAT_CONFIG' => [
//        'appid' => 'wxa079c9862d694781',
//        'appsecret' => '94a2f17221584170f0febd1c03257512',
        'appid' => 'wx7fbd010ab8f1c1ec',
        'appsecret' => 'd4624c36b6795d1d99dcf0547af5443d',
        'token' => 'wooowangbeautifulhahaha',
        'encodingaeskey' => 'cAeX6ctculldNaBjJ6IqnTzmosNZXiDFkMpsXGnZoov'
    ],

];